package com.jinmei.remote.request;

import java.util.Map;

/**
 * @author richard
 *
 */
public class BaseClientRequest {

	protected String url;
    protected String body;
    protected Map<String, String> headers;

    protected BaseClientRequest(String url) {
        this.url = url;
    }
    
	public String getLocationUri() {
		return url;
	}

	public void setLocationUri(String uri) {
		this.url = uri;
	}

	public String getBody() {
		return body;
	}

	public void setBody(String body) {
		this.body = body;
	}
	
	public Map<String, String> getHeaders() {
		return headers;
	}

	public void addHeader(String name, String header) {
		this.headers.put(name, header);
	}

	public void setHeaders(Map<String, String> headers) {
		this.headers = headers;
	}

	public String getHeader(String name) {
		return null;
	}

}
